package com.fengxiang.modules.web.service.impl;

import com.fengxiang.modules.web.dao.UserDao;
import com.fengxiang.modules.web.entity.UserEntity;
import com.fengxiang.modules.web.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
//业务层接口实现
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public List<UserEntity> queryUser() {
        return userDao.queryUser();
    }
}
